<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/3/3
 * Time: 11:43
 */
ignore_user_abort();
set_time_limit(0);
$interval = 60;
do {
    $result = file_get_contents("http://127.0.0.1/projectManageApi/public/?service=Common_Notify.pushNotify");
    $result_2 = file_get_contents("http://127.0.0.1/projectManageApi/public/?service=Common_Notify.fixedExecutor");
    $result_3 = file_get_contents("http://127.0.0.1/projectManageApi/public/?service=Common_Notify.pushTaskRemind");
    echo "pushNotify:".$result;
    echo "\n";
    echo "fixedExecutor:".$result;
    echo "\n";
    echo "pushTaskRemind:".$result;
    echo "\n";
    sleep($interval);
} while (true);